#ifndef _SPHERE
#define _SPHERE

#include <d3d10.h>
#include <d3dx10.h>

#include "kulaCuda.h"
#include "drawableObject.h"





class Sphere
{
private:

	int						m_size;
	float					m_scale;
	ID3D10Device*			pd3dDevice;
	DrawableObject*			m_SphereObject;
	float **				m_HeightMap;


public:


	Sphere(ID3D10Device* d, int m_size, float scale);
	~Sphere();
	HRESULT generate();
	void render();
	DrawableObject * GetSphere();




};

#endif